package study.repository.attachment;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import study.domain.attachment.Attachment;

public interface AttachmentRepository extends PagingAndSortingRepository<Attachment, String>,
		JpaSpecificationExecutor<Attachment> {

	List<Attachment> findAllByUser_UserIdAndCategoryAndIdIn(Long userId, String category,
			List<String> id);
}
